/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package BackEnd;

/**
 *
 * @author Gabi
 */
public class User {

    public String getAuthToken() {
	return authToken;
    }

    public String getBirthDay() {
	return birthDay;
    }

    public String getLastLogDate() {
	return lastLogDate;
    }

    public String getMail() {
	return mail;
    }

    public String getName() {
	return name;
    }

    public String getPassword() {
	return password;
    }

    public String getUserName() {
	return userName;
    }

    private String userName = null;
    private String name = null;
    private String password = null;
    private String authToken = null;
    private String birthDay = null;
    private String lastLogDate = null;
    private String mail = null;
    private String creationDate = null;

    public String getCreationDate() {
	return creationDate;
    }

    public void setCreationDate(String creationDate) {
	this.creationDate = creationDate;
    }

    public User(String userName, String name, String password, String authToken, String birthDay, String lastLogDate, String mail, String creationDate){
	this.userName = userName;
	this.name = name;
	this.password = password;
	this.authToken = authToken;
	this.birthDay = birthDay;
	this.lastLogDate = lastLogDate;
	this.mail = mail;
	this.creationDate = creationDate;
    }


    public String toString(){
	return ""+userName+"  "+name+"  "+password+"  "+authToken+"  "+birthDay+"  "+lastLogDate+"  "+mail;
    }

        public void setName(String name){
	this.name = name;
    }

    public void setPassword(String password){
	this.password = password;
    }

    public void setBirthDay(String birthDay){
	this.birthDay = birthDay;
    }

    public void setMail(String mail){
	this.mail = mail;
    }

}